package com.mt.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mt.pojo.CinemaHall;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Wang
 * @since 2020-12-11
 */
@Mapper
public interface CinemaHallMapper extends BaseMapper<CinemaHall> {

    List<CinemaHall> listHall(IPage<CinemaHall> page, @Param("hallName") String hallName, @Param("cinemaId") int cinemaId);

    List<CinemaHall> getAllHall(@Param("cinemaId") int cinemaId);
}
